package cn.ch.pet.service;

import cn.ch.basic.service.IBaseService;
import cn.ch.pet.domain.OrderPetAcquisition;
import cn.ch.pet.dto.OrderConfirmDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Why
 * @since 2022-02-27
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {

    /**
     * 收购宠物失败，取消订单
     * @param id
     */
    void removeOrder(Long id);

    /**
     * 确认收购单
     * @param dto
     */
    void confirm(OrderConfirmDto dto);
}
